.upload-container {
    width: 100%;
    max-width: 700px;
    margin: 90px auto 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 单图上传区域 */
.single-upload {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
    border: 2px dashed #e0e0e0;
    transition: all 0.3s;
}

.single-upload.active {
    border-color: #4285f4;
    background: #f0f7ff;
}

.upload-icon {
    font-size: 48px;
    color: #4285f4;
    margin-bottom: 10px;
}

.upload-text {
    color: #5f6368;
    font-size: 16px;
    margin-bottom: 15px;
}

.single-file {
    display: none;
}

.single-uploadimg {
    display: none;
    width: 100%;
    /* height: 160px; */
}

/* 标题和描述区域 */
.info-section {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group:last-child {
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #3c4043;
    font-size: 14px;
}

input,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 15px;
    transition: border 0.3s;
}

input:focus,
textarea:focus {
    border-color: #4285f4;
    outline: none;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

/* 多图上传区域 */
.multi-upload {
    background: white;
    border-radius: 10px;
    padding: 15px;
}

.multi-upload-title {
    font-size: 16px;
    font-weight: 500;
    color: #3c4043;
    margin-bottom: 15px;
}

.thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.thumbnail {
    width: calc(50% - 5px);
    aspect-ratio: 1;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px dashed #ccc;
}

.thumbnail img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.add-more {
    background: #f0f7ff;
    color: #4285f4;
    font-size: 24px;
    border: 2px dashed #4285f4;
}

.delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.array-file {
    display: none;
}


.mobile-image-uploader {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

.upload-btn {
    width: 100%;
    padding: 12px 0;
    background-color: #f0f0f0;
    border: 1px dashed #999;
    border-radius: 8px;
    color: #666;
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
}

.hint-text {
    color: #999;
    font-size: 12px;
    text-align: center;
    margin: 5px 0 15px;
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.delete-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
}

.thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ccc;
    border: 1px dashed #ddd;
}

/* 提交按钮 */
.mobile-submit-container {
    padding: 20px 15px;
    background: #f8f9fa;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.mobile-submit-btn {
    width: 100%;
    padding: 14px 0;
    background: #665de7;
    /* 微信绿，适合提交操作 */
    color: white;
    border: none;
    border-radius: 25px;
    /* 大圆角 */
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    /* 字间距 */
    box-shadow: 0 2px 6px rgba(7, 193, 96, 0.3);
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    /* 移除点击高亮 */
}

/* 按下效果 */
.mobile-submit-btn:active {
    background: #06ad56;
    transform: scale(0.98);
    box-shadow: 0 1px 3px rgba(7, 193, 96, 0.3);
}

/* 禁用状态 */
.mobile-submit-btn:disabled {
    background: #cccccc;
    box-shadow: none;
    transform: none;
}

/* 添加加载动画 */
.loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}